import request from '@/utils/request'

// 查询科目余额列表
export function listFinSubjectMonth(query) {
  return request({
    url: '/project/FinSubjectMonth/list',
    method: 'get',
    params: query
  })
}

// 查询科目余额详细
export function getFinSubjectMonth(id) {
  return request({
    url: '/project/FinSubjectMonth/' + id,
    method: 'get'
  })
}

// 新增科目余额
export function addFinSubjectMonth(data) {
  return request({
    url: '/project/FinSubjectMonth',
    method: 'post',
    data: data
  })
}
export function importDefaultFinSubjectMonth() {
  return request({
    url: '/project/FinSubjectMonth/importDefaultFinSubjectMonth',
    method: 'post',
  })
}



// 修改科目余额
export function updateFinSubjectMonth(data) {
  return request({
    url: '/project/FinSubjectMonth',
    method: 'put',
    data: data
  })
}

// 删除科目余额
export function delFinSubjectMonth(id) {
  return request({
    url: '/project/FinSubjectMonth/' + id,
    method: 'delete'
  })
}
